package com.kaidi.dibankecloud.utils;

/**
 * Created by Administrator on 2017/1/11.
 */

public class EditUtils {
//    public static void sendActivatedEmail(String targetEmail,String activatedCode){
//        SimpleEmail simpleEmail = new SimpleEmail();
//        simpleEmail.setHostName("smtp.163.com");
//        simpleEmail.setCharset("utf-8");
//        try {
//            simpleEmail.addTo(targetEmail,null);
//            simpleEmail.setAuthentication("17862821602@163.com","wangyi594171");
//            simpleEmail.setFrom("17862821602@163.com","Hennessy");
//            simpleEmail.setSubject("迪伴客云盘邮箱激活");
//            simpleEmail.setMsg("尊敬的用户，欢迎使用迪伴客云盘，您的邮箱激活码为【"+activatedCode+"】,激活码在48小时内有效，请尽快激活！");
//            simpleEmail.send();
//        } catch (EmailException e) {
//            e.printStackTrace();
//            Log.d("1212","激活邮件发送失败");
//        }
//        Log.d("1212","激活邮件发送成功");
//    }
}
